/*    */ package com.wgcloud.config;
/*    */ 
/*    */ import com.github.pagehelper.PageHelper;
/*    */ import java.util.Properties;
/*    */ import org.springframework.context.annotation.Bean;
/*    */ import org.springframework.context.annotation.Configuration;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ @Configuration
/*    */ public class MybatisConf
/*    */ {
/*    */   @Bean
/*    */   public PageHelper pageHelper() {
/* 18 */     PageHelper pageHelper = new PageHelper();
/* 19 */     Properties p = new Properties();
/* 20 */     p.setProperty("offsetAsPageNum", "true");
/* 21 */     p.setProperty("rowBoundsWithCount", "true");
/* 22 */     p.setProperty("reasonable", "true");
/*    */ 
/*    */     
/* 25 */     pageHelper.setProperties(p);
/* 26 */     return pageHelper;
/*    */   }
/*    */ }


/* Location:              /Users/zhangyongxin/soft-install/wgcloud/wgcloud-v3.3.5/server/bank/wgcloud-server-release.jar!/BOOT-INF/classes/com/wgcloud/config/MybatisConf.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */